package com.xxy.partnermatch;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.web.bind.annotation.CrossOrigin;

@CrossOrigin    // 开启注解, 允许跨域
@MapperScan({"com.xxy.partnermatch.mapper"})  // 自动扫描 Mapper接口
@EnableScheduling   // 开启定时任务
@SpringBootApplication
public class PartnerMatchApplication {

    public static void main(String[] args) {
        SpringApplication.run(PartnerMatchApplication.class, args);
    }

}
